﻿<Window x:Class="BehaviorTest.PlayMediaTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PlayMediaTest" Height="300" Width="300"
         xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:custom="clr-namespace:CustomBehaviorsLibrary;assembly=CustomBehaviorsLibrary" 
>
    <StackPanel x:Name="LayoutRoot" Margin="10">
        <Button Content="Click to Play Sound" HorizontalAlignment="Left" Padding="5" Margin="3">
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="Click">
                    <custom:PlaySoundAction Source="test.mp3" />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </Button>

    </StackPanel>
</Window>
